﻿#pragma once

#include"RemarkDlg.h"
#include"Dlg2.h"



// CDlg1 对话框

class CDlg1 : public CDialogEx
{
	DECLARE_DYNAMIC(CDlg1)

public:
	CDlg1(CWnd* pParent = nullptr);   // 标准构造函数
	virtual BOOL OnInitDialog();	//供重写的窗口初始化函数
	virtual ~CDlg1();
// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = StuStat_1 };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
	
private:
	CListCtrl stuList;
	int ColIndex;
	CRemarkDlg* remarkdlg;
public:
	CListCtrl* getList() { return &(this->stuList); }
	afx_msg void OnClickStulist(NMHDR* pNMHDR, LRESULT* pResult);
	void insertStu(CString a, CString b,CString c);
	int SearchByPicID(CString FaceID);
	void statChange(int ColIndex);
	afx_msg void OnClickedRemarkButton();
};
